package com.ftg.learn.day17.service;

import com.ftg.learn.day17.domain.DeptDomain;
import com.ftg.learn.day17.mapper.DeptMapper;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 布衣
 */
@Service

public class DeptService {

    @Resource
    DeptMapper deptMapper;

    public List<DeptDomain> showAll(){
        return deptMapper.showAll();
    }

}
